function Event(target, event_, lambda) {
    let element = typeof target === 'string' ? document.getElementById(target) : target;
    if (element) {
        element.addEventListener(event_, function(event) {
            event.preventDefault();
            lambda(event);
        });
    }
}

function EventLoad(lambda){
    Event(document,'DOMContentLoaded',lambda)
}

function getElementById(id){
    return document.getElementById(id)
}